package com.example.android.syot;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class SyotMenu extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.menu);
        
        final Button button1 = (Button) findViewById(R.id.button1);
        final Button button2 = (Button) findViewById(R.id.button2);
        final Button button3 = (Button) findViewById(R.id.button3);
        final Button button4 = (Button) findViewById(R.id.button4);
        
        button1.setOnClickListener(new View.OnClickListener() {             
        	public void onClick(View v) {                 
                startActivity(new Intent(SyotMenu.this, Syot.class));
        	}         
        });
        
        button2.setOnClickListener(new View.OnClickListener() {             
        	public void onClick(View v) {                 
        		startActivity(new Intent(SyotMenu.this, Syot.class));
        	}         
        });
        
        button3.setOnClickListener(new View.OnClickListener() {             
        	public void onClick(View v) {                 
                startActivity(new Intent(SyotMenu.this, SyotScores.class));
        	}         
        });
        
        button4.setOnClickListener(new View.OnClickListener() {             
        	public void onClick(View v) {                 
                startActivity(new Intent(SyotMenu.this, SyotHelp.class));
        	}         
        });
    }
}
